from django.urls import path, re_path

from padmin import views
from padmin.views import PadminUserGroupMemberManage

urlpatterns = [
    re_path(r'^ugm/(?:(?P<group_id>\d+)/)?$', views.PadminUserGroupPostEdit.as_view()),
    path('ugm/people/', PadminUserGroupMemberManage.as_view()),
    path('em/<int:question_id>/', views.ban_question),
    path('egm/<int:group_id>/', views.ban_question_group),
]
